//import processing.pdf.*;

String versionString = "NPZmachine 3.5";
String creditsString = "Neil Banas  |  neil@ocean.washington.edu";

/*
Neil Banas, jun 2013

Lower-trophic Lagrangian Model for the Bering Sea (LowLaMB). Branched from NPZmachine 3.5.

*/

boolean debug = false;
boolean scripted = true;



Stylesheet masterStylesheet;
Gui gui;

void setup() {
  if (scripted) {
    runScripts(); // see _main.pde
    exit();
  } else {
    size(850,600);
    smooth();
    masterStylesheet = new Stylesheet();
    masterStylesheet.loadFonts();
    ProjectList PL = assembleMasterProjectList(); // see _main.pde
    gui = new Gui(PL, masterStylesheet);
  }
}

void draw() {
  if (!scripted) gui.update();
}

void mousePressed() {
  if (!scripted) gui.offerMousePress();
}

class Script {
  Script() {}
  void run() {}
}

